package com.atguigu.educms.service;

import com.atguigu.educms.entity.CmsAd;
import com.atguigu.educms.entity.Vo.AdVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 阿卓
 * @version 1.0
 * @date 2021/2/24 0024 10:55
 */
public interface CmsAdService extends IService<CmsAd> {

    IPage<AdVo> selectPage(Long page, Long limit);

    boolean removeAdImageById(String id);

    List<CmsAd> selectByAdTypeId(String adTypeId);
}
